<html lang="java">
<head>
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css"  crossorigin="anonymous">
    <style>
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
        }

        .fixed-width {
            width: 500px;
            background-color: lightblue;
            padding: 50px;
            border: 1px solid black;
            height: 500px;
        }
    </style>
</head>
<body>
<div class="fixed-width">
<form action="loginValidate" method="post">
    <div class="form-group">
        <label for="exampleInputEmail1">Email address</label>
        <input type="text" class="form-control" name="username" id="exampleInputEmail1" aria-describedby="emailHelp">
        <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
    </div>
    <div class="form-group">
        <label for="exampleInputPassword1">Password</label>
        <input type="password" class="form-control" name="password" id="exampleInputPassword1">
    </div>

    <div class="form-group form-check">
        <input type="checkbox" class="form-check-input" id="exampleCheck1">
        <label class="form-check-label" for="exampleCheck1">Check me out</label>
    </div>
    <div class="form-group">
        <label for="exampleRadios1">选择身份:</label>
        <div class="form-check">
            <input class="form-check-input" type="radio" name="role" id="exampleRadios1" value="1" checked>
            <label class="form-check-label" for="exampleRadios1">
                学生
            </label>
        </div>
        <div class="form-check">
            <input class="form-check-input" type="radio" name="role" id="exampleRadios2" value="2" checked>
            <label class="form-check-label" for="exampleRadios1">
                教师
            </label>
        </div>
        <div class="form-check">
            <input class="form-check-input" type="radio" name="role" id="exampleRadios3" value="3" checked>
            <label class="form-check-label" for="exampleRadios1">
                管理员
            </label>
        </div>
    </div>
    <button type="submit" class="btn btn-primary">登入</button>
</form>
</div>

<script src="/bootstrap/js/jquery.min.js"  crossorigin="anonymous"></script>
<script src="/bootstrap/js/bootstrap.bundle.min.js"  crossorigin="anonymous"></script>
</body>

</html>